<?
class BroadwayShowBO extends BusinessObject{
  /* private function using in constructors*/
  function setAttributes(){
    $this->fields   = array(
			"id"                =>	"bs_ID",
            "ItemID"		    =>	"bs_ItemID",
			"ShowCode"		    =>	"bs_ShowCode",
			"ShowName"          =>	"bs_ShowName",
			"ShowAreaCode"      =>	"bs_ShowAreaCode",
			"ShowTypeCode"      =>	"bs_ShowTypeCode",
			"VenueName" 	    =>	"bs_VenueName",   
			"Address"           =>	"bs_Address",
            "City"		        =>	"bs_City",
			"StateCode"         =>	"bs_StateCode",
			"CountryCode"	    =>	"bs_CountryCode",    
			"BoOpensDate"       =>	"bs_BoOpensDate",
			"FirstPreviewDate"  =>	"bs_FirstPreviewDate",
			"OpeningDate"       =>	"bs_OpeningDate",
			"RunTime"	        =>	"bs_RunTime",   
			"RatingCode"        =>	"bs_RatingCode",
			"Synopsis"          =>	"bs_Synopsis",
			"Picture"           =>	"bs_Picture"
		);
    BusinessObject::setAttributes();
  }
  /* constuctor */
  function BroadwayShowBO(){
    /** super(tableName) */
    BusinessObject::BusinessObject("broadway_shows");
    $this->setAttributes();
  }
}
?>